<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <base href="#(basePath)"/>
  <title>交易管理 - 订单详情</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="static/layui/css/layui.css" media="all">
  <style type="text/css">
  .layui-form{padding: 20px}
  .layui-form-label{width:100px;}
  .layui-input-inline{min-width: 220px;position: relative;}
  .layui-input-inline label{font-size:13px; color: #ff133c;position: absolute;bottom: -15px;left: 0;}
  .layui-input-block {margin-left: 130px;}
  </style>
</head>
<body>
	<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 0 0 0;">
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">用户信息</label>
				<div class="layui-input-inline">
					#if(order.realName!=null)
					<input type="text" value="#(order.realName)-#(order.merchCode )" class="layui-input" readonly="readonly">
					#else
					<input type="text" value="#(order.merchName)-#(order.merchCode )" class="layui-input" readonly="readonly">
					#end
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">买家</label>
				<div class="layui-input-inline">
					<input type="text" name="payer" value="#(order.payer)" readonly="readonly" autocomplete="off" class="layui-input">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">订单编号</label>
				<div class="layui-input-inline">
					<input type="text" value="#(order.orderNo )" class="layui-input" readonly="readonly">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">商城单号</label>
				<div class="layui-input-inline">
					<input type="text" value="#(order.outOrderNo)" class="layui-input" readonly="readonly">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">支付类别</label>
				<div class="layui-input-inline">
					<input type="text" value="#(order.bizTypeShow)" class="layui-input" readonly="readonly">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">交易金额</label>
				<div class="layui-input-inline">
					<input type="text" id="amt" value="#(order.amountFormat)" class="layui-input" readonly="readonly">
					<label>#(order.amountInWords)</label>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
	  <div class="layui-inline">
	    <label class="layui-form-label">手续费</label>
	    <div class="layui-input-inline">
			<input type="text" value="#(order.merchFeeFormat)" class="layui-input" readonly="readonly">
		</div>
	  </div>
	  <div class="layui-inline">
	    <label class="layui-form-label">交易后余额</label>
	    <div class="layui-input-inline">
	      <input type="text" value="#(order.balanceShow )" class="layui-input" readonly="readonly">
	    </div>
	  </div>
    </div>
    <div class="layui-form-item">
	  <div class="layui-inline">
	    <label class="layui-form-label">创建时间</label>
	    <div class="layui-input-inline">
	      <input type="text" value="#(order.createTime )" class="layui-input" readonly="readonly">
	    </div>
	  </div>
	  <div class="layui-inline">
	    <label class="layui-form-label">支付时间</label>
	    <div class="layui-input-inline">
	      <input type="text" value="#(order.payTime )" class="layui-input" readonly="readonly">
	    </div>
	  </div>
    </div>
    <div class="layui-form-item">
	  <div class="layui-inline">
	    <label class="layui-form-label">订单状态</label>
	    <div class="layui-input-inline">
	      <input type="text" value="#(order.orderStatusShow )" class="layui-input" readonly="readonly">
	    </div>
	  </div>
	  <div class="layui-inline">
	    <label class="layui-form-label">商品-备注</label>
	    <div class="layui-input-inline">
	      <input type="text" value="#(order.goodsName)-#(order.remark )" class="layui-input" readonly="readonly">
	      #if(order.isTransfer_xx)
			<a href="#(order.goodsNameUrl)">商品信息</a>
		  #end
		</div>
	  </div>
    </div>

    <div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">#(order.accountNameShow)</label>
			<div class="layui-input-inline">
				<input type="text" value="#(order.accountName )" class="layui-input" readonly="readonly">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">#(order.accountNoShow)</label>
			<div class="layui-input-inline">
				<input type="text" value="#(order.accountNo )" class="layui-input" readonly="readonly">
			</div>
		</div>
    </div>


	  <div class="layui-form-item">
		  <div class="layui-inline">
			  <label class="layui-form-label">所属银行</label>
			  <div class="layui-input-inline">
				  <input type="text" name="bankName" value="#(order.bankName)" readonly="readonly"  autocomplete="off" class="layui-input">
			  </div>
		  </div>

		  <div class="layui-inline">
			  <label class="layui-form-label">支行银行</label>
			  <div class="layui-input-inline">
				  <input type="text" name="openingBankName" value="#(order.openingBankName)" readonly="readonly"  autocomplete="off" class="layui-input">
			  </div>
		  </div>
	  </div>


	  <div class="layui-form-item">
		  <div class="layui-inline">
			  <label class="layui-form-label">银行所在省</label>
			  <div class="layui-input-inline">
				  <input type="text" name="province" value="#(order.province)" readonly="readonly"  autocomplete="off" class="layui-input">
			  </div>
		  </div>

		  <div class="layui-inline">
			  <label class="layui-form-label">银行所在市</label>
			  <div class="layui-input-inline">
				  <input type="text" name="city" value="#(order.city)" readonly="readonly"  autocomplete="off" class="layui-input">
			  </div>
		  </div>
	  </div>

	  #if(order.purpose!=null)
	  <div class="layui-form-item">
		  <div class="layui-inline">
		  <label class="layui-form-label">一审填写用途</label>
		  <div class="layui-input-inline">
			  <input type="text" name="purpose" value="#(order.purpose)" readonly="readonly" autocomplete="off" class="layui-input">
		  </div>
		  </div>
		</div>

		<div class="layui-form-item">

			<label class="layui-form-label">二审意见</label>
			<textarea style="height: 80px" readonly="readonly" autocomplete="off" class="layui-input">#(order.purpose2)
					</textarea>
	  </div>
	  #end

	#if(order.purpose3!=null && order.purpose3!='')
	  <div class="layui-form-item">

		  <label class="layui-form-label">三审意见</label>
		  <textarea style="height: 80px" readonly="readonly" autocomplete="off" class="layui-input">#(order.purpose3)
					</textarea>
	  </div>
	#end

		  #if(order.purpose4!=null)
		<div class="layui-form-item">
		  <div class="layui-inline">
		  <label class="layui-form-label">打款意见</label>
		  <div class="layui-input-inline">
			  <input type="text" name="purpose4" value="#(order.purpose4)" readonly="readonly" autocomplete="off" class="layui-input">
		  </div>
		  </div>
		</div>
		  #end


	  #if(order.outAccountNo!=null)
	  <div class="layui-form-item">

		  <label class="layui-form-label">对手账户</label>
		  <div class="layui-input-block">
			  <input type="text" name="youliout" value="#(order.outAccountName )-#(order.outBankName)-#(order.outAccountNo )" readonly="readonly"  autocomplete="off" class="layui-input">
		  </div>
	  </div>
	  #end

		#if(fileNum != null && fileNum > 0)
		<div class="layui-upload-list">
			<table class="layui-table">
				<thead>
				<tr><th>已经上传的文件信息</th>
					<th>操作</th>
				</tr></thead>
				<tbody id="demoList">
				#for(fileName: fileList)
				<tr id="upload-file">
					<td>#(fileName)</td>
					<td>
						<a href="upload/trade/#(order.orderNo)/#(fileName)" target="_blank" class="layui-btn layui-btn-xs demo-view">预览</a>
					</td>
				</tr>
				#end
				</tbody>
			</table>
		</div>
		#end

	  #if(order.isAllShow)
    <div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">手机号</label>
			<div class="layui-input-inline">
				<input type="text" value="#(order.phoneNo )" class="layui-input" readonly="readonly">
			</div>
		</div>
	  <div class="layui-inline">
	    <label class="layui-form-label">响应</label>
	    <div class="layui-input-inline">
	      <input type="text" value="#(order.respCode )-#(order.respMsg )" class="layui-input" readonly="readonly">
	    </div>
	  </div>
    </div>
	  <div class="layui-form-item">
		  <div class="layui-inline">
			  <label class="layui-form-label">原订单号</label>
			  <div class="layui-input-inline">
				  <input type="text" value="#(order.originalOrderNo )" class="layui-input" readonly="readonly">
			  </div>
		  </div>
		  <div class="layui-inline">
			  <label class="layui-form-label">渠道订单号</label>
			  <div class="layui-input-inline">
				  <input type="text" value="#(order.channelOrderNo )" class="layui-input" readonly="readonly">
			  </div>
		  </div>
	  </div>
	  <div class="layui-form-item">
		  <div class="layui-inline">
			  <label class="layui-form-label">渠道编号</label>
			  <div class="layui-input-inline">
				  <input type="text" value="#(order.channelCode )" class="layui-input" readonly="readonly">
			  </div>
		  </div>
		  <div class="layui-inline">
			  <label class="layui-form-label">机构编号</label>
			  <div class="layui-input-inline">
				  <input type="text" value="#(order.orgCode )" class="layui-input" readonly="readonly">
			  </div>
		  </div>
	  </div>
	  #end
  </div>

  </div>

  <script src="static/menoy.js"></script>
  <script src="static/layui/layui.js"></script>
  <script>
  layui.config({
	base: '#(basePath)' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form'], function(){
  })
  //document.getElementById("bigAmt").innerHTML = convertCurrency("#(order.amount)");
  </script>
</body>
</html>
